A sharp wave of Western outrage has been provoked by Iraq's legislation criminalizing prostitution and homosexuality, even leading to threats of withdrawal by foreign investment companies, raising significant questions about Baghdad's future relations.